<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="sec"
	uri="http://www.springframework.org/security/tags"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="huoyun" uri="/huoyun"%>
<div>
	<div class="tab-pannel">
		<s:if test="ratePage">
			<table class="tableForm">
				<s:iterator var="rateObj" value="ratePage.objectList">
					<tr>
						<td><s:property value="#rateObj.content" /></td>
						<td><huoyun:dateFormat date="${rateObj.addTime }"
								dateFormat="yyyy-MM-dd HH:mm" /></td>
					</tr>
				</s:iterator>
			</table>

			<s:if test="ratePage.totalPage > 1">
				<tr>
					<s:url var="queryCargoUrl"
						action="rateList.action"
						namespace="/rate">
					<s:param name="carId"><s:property value="car.id"/></s:param>	
					</s:url>
					<td colspan="7"><huoyun:page pageNo="${ratePage.pageNo}"
							url="${queryCargoUrl}" totalPage="${ratePage.totalPage}"
							totalRecord="${ratePage.totalRecord}" isAjax="true" ajaxDiv="tabs-1"></huoyun:page></td>
				</tr>
			</s:if>
		</s:if>

	</div>
</div>
